Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Rotate-About-Axis Transforms


Q3RotateAboutAxisTransform_New

You can use the Q3RotateAboutAxisTransform_New function to create a new rotate-about-axis transform.

TQ3TransformObject Q3RotateAboutAxisTransform_New (
const TQ3RotateAboutAxisTransformData *data);
data
A pointer to a TQ3RotateAboutAxisTransformData structure.
DESCRIPTION
The Q3RotateAboutAxisTransform_New function returns, as its function result, a reference to a new transform object of type kQ3TransformTypeRotateAboutAxis using the data passed in the data parameter. The data you pass is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures, Q3RotateAboutAxisTransform_New returns the value NULL.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996